#pragma once
#include <sstream>
namespace xpam
{
    template<class T1, class T2>
    T1 human_cast(const T2 & t2)
    {
        std::stringstream ss;
        ss << t2;
        T1 t1;
        ss >> t1;
        return t1;
    }
}